﻿[#escape x as x?html]
[#assign script]
[#if user??]你好，<a href="${ctx}/my.jspx">${user.username}</a><a href="${ctx}/logout.jspx">[退出]</a>
[#else]游客，你好，你还未<a href="${ctx}/login.jspx">登录</a>！<a href="${ctx}/register.jspx">注册</a>[/#if]
[/#assign]
[/#escape]
document.write("${script?js_string}");